package com.songshuai.webapi.jobapi.dao.crmbase;

import com.songshuai.webapi.jobapi.model.crmbase.YixueBaseDictionary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DictionaryDao {
    /**
     * 根据字典ID获取字典信息
     * @param dicIds
     * @return
     */
    List<YixueBaseDictionary>getDictionarys(@Param("dicIds") List<Integer> dicIds);

    /**
     * 根据typeID获取type
     * @param typeId
     * @return
     */

    List<YixueBaseDictionary>getDictionaryByType(@Param("typeId") Integer typeId);

    /**
     *
     * @param oldIds
     * @return
     */
    List<YixueBaseDictionary>getDictionByoldIds(@Param("oldIds") List<String> oldIds);
}
